﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>酒店产权物业管理系统</title>
    
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="host,management,system">
    <meta http-equiv="description" content="酒店产权物业管理系统">
    
<style type="text/css">
<!--
.STYLE1 {font-size: 12px}
.STYLE6 {
	font-size: 20px;
	font-family: "华文琥珀";
	color: #000000;
}
.STYLE8 {font-size: 12px; color: #000000; }
.error {font-size: 12px; color: red;}
-->
</style>
  <link href="css/style.css" rel="stylesheet" type="text/css">
  </head>
  <body>
<label></label>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
 <form name="form1" method="post" action="loginServlet">
<table width="496" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#76C2FE">
  <!--DWLayoutTable-->
  <tr>
    <td height="34" colspan="5">&nbsp;</td>
    <td width="63">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="60" colspan="7" align="center" valign="top"></td>
  </tr>
  <tr>
    <td height="30" colspan="7">&nbsp;</td>
  </tr>
  <tr>
    <td height="86" colspan="7" align="center" valign="middle" class="STYLE6">酒店产权物业管理系统</td>
  </tr>
  <%
  	String errorCode= request.getParameter("errorCode");
  	if(errorCode != null) {
  		if(errorCode.equals("invalide_user")) errorCode = "无效用户";
   %>
  <tr>
    <td height="20" colspan="7" align="center" valign="middle" class="error" ><%=errorCode %></td>
  </tr>
  <%} %>
  <tr>
    <td width="102" height="46" align="right" valign="middle" nowrap="nowrap"><span class="STYLE8">用户名：</span></td>
    <td width="67" valign="middle" nowrap="nowrap"><span class="STYLE1">
      <input name="userName" type="text" size="10" maxlength="20" style="width:60px; height:18px;" />
    </span></td>
    <td width="44" align="right" valign="middle" nowrap="nowrap"><span class="STYLE8"> 密码：</span></td>
    <td width="68" valign="middle" nowrap="nowrap"><span class="STYLE1">
      <input name="userPass" type="password"  size="10" maxlength="20"style="width:60px; height:18px;" />
    </span></td>
    <td width="56" align="right" valign="middle" nowrap="nowrap"><span class="STYLE8">验证码：</span></td>
    <td height="46" valign="middle" nowrap="nowrap"><span class="STYLE1">
      <input name="checkCode" type="text" size="10" maxlength="4" style="width:60px; height:18px;"/>
    </span></td>
    <td align="center" valign="middle"><span class="STYLE1"><img src="verifyCodeServlet" border=0 /></span></td>
    </tr>
  <tr>
    <td height="38" colspan="7" align="center"><input name="Submit" onMouseOver="this.className='btn1_mouseover'"
onmouseout="this.className='btn1_mouseout'" type="submit" class="btn1_mouseout" value=" 登 录 " /></td>
  </tr>
</table>
  </form>
</body>
</html>
